/*
  在rem布局中使用精灵图时 background-position要以rem计算
  background-size必须设置为具体的值 大小为精灵图的rem大小
*/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, div, video, audio {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, button, input, select, textarea {
  font: 0.2rem/1.5 tahoma, arial, \5b8b\4f53, sans-serif;
}

body, html {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
}

address, cite, dfn, em, var {
  font-style: normal;
}

* {
  text-decoration: none;
  list-style: none;
}

img {
  border: 0px;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: '';
  clear: both;
  height: 0px;
  display: block;
  line-height: 0px;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}

a, input, button {
  outline: none;
}

::-moz-focus-inner {
  border: 0px;
}

a {
  color: #000;
}

.container {
  background-color: #f7f7f7;
}

div {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

/* toast样式 */
.toast-style {
  width: 5.8rem !important;
  bottom: 2rem !important;
  background: rgba(0, 0, 0, 0.5) !important;
}

.toast-style span {
  font-size: 0.3rem !important;
}

/* 修改placeholder的默认颜色 兼容写法*/
input::-webkit-input-placeholder {
  color: #ccc;
}

:-moz-placeholder {
  color: #ccc;
}

::-moz-placeholder {
  color: #ccc;
}

:-ms-input-placeholder {
  color: #ccc;
}

